//
//  LineView.m
//  test
//
//  Created by chris on 15/7/20.
//  Copyright (c) 2015年 chris. All rights reserved.
//

#import "LineView.h"

@implementation LineView


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        UIView * lineUp = [[UIView alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, 0.5)];
        lineUp.backgroundColor = [UIColor colorWithRed:0.92 green:0.92 blue:0.92 alpha:1];
        [self addSubview:lineUp];
        
        UIView * lineDown = [[UIView alloc]initWithFrame:CGRectMake(0, 0.5, frame.size.width, 0.5)];
        lineDown.backgroundColor = [UIColor colorWithRed:0.95 green:0.95 blue:0.95 alpha:1];
        [self addSubview:lineDown];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
